"use strict";
cc._RF.push(module, 'bac86QEcgVKeqDluCD/4IkM', 'EnableDragonBoneAnimation');
// scripts/EnableDragonBoneAnimation.js

"use strict";

var e = require;
var t = module;
var n = exports;
Object.defineProperty(n, "__esModule", {
  value: !0
});

var o = cc._decorator,
    i = o.ccclass,
    a = o.property,
    r = function (e) {
  __extends(t, e);

  function t() {
    var t = null !== e && e.apply(this, arguments) || this;
    t.bindArmatureDisplay = null;
    t.animationName = "awake";
    t.loopCount = 1;
    return t;
  }

  t.prototype.onEnable = function () {
    this.bindArmatureDisplay.playAnimation(this.animationName, this.loopCount);
  };

  __decorate([a(dragonBones.ArmatureDisplay)], t.prototype, "bindArmatureDisplay", void 0);

  __decorate([a(String)], t.prototype, "animationName", void 0);

  __decorate([a(Number)], t.prototype, "loopCount", void 0);

  return __decorate([i], t);
}(cc.Component);

n["default"] = r;

cc._RF.pop();